<template>
  <div>
    <div>
        <h4>其他</h4>
        <el-row type="flex" justify="space-between">
          <el-col :span="8">
            <span>性交痛：</span>
            <el-select v-model="pgForm.postpartum_other_value1" placeholder="请选择" style="width: 40%">
              <el-option
                v-for="item in optionsOther"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </el-col>
          <el-col :span="8">
            <span>盆腔痛：</span>
            <el-select v-model="pgForm.postpartum_other_value2" placeholder="请选择" style="width: 40%">
              <el-option
                v-for="item in optionsOther"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </el-col>
          <el-col :span="8">
            <span>阴道过度松弛：</span>
            <el-select v-model="pgForm.postpartum_other_value3" placeholder="请选择" style="width: 40%">
              <el-option
                v-for="item in optionsOther"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </el-col>
        </el-row>
    </div>
  </div>
</template>

<script>
export default {
  name: "postpartum_other",
  title: "其他",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data(){
    return{
      pgForm: {
        postpartum_other_value1: '',
        postpartum_other_value2: '',
        postpartum_other_value3: '',

      },
      optionsOther: [{
        value: '是',
        label: '是'
      }, {
        value: '否',
        label: '否'
      }],

    }
  }
}
</script>

<style scoped>
.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
  flex-direction: row;
}
</style>
